#pragma once

#ifdef _WIN32
#include "network_win32.h"
#endif

namespace krryn{
namespace system{
	template<typename E, typename T>
	std::basic_stringbuf<E, T>* input_buffer(unsigned short a_Port){
		return new krryn::system_imp::basic_inetworkbuf<E, T>(a_Port);
	}

	template<typename E, typename T>
	std::basic_stringbuf<E, T>* output_buffer(const std::string &a_Ip, unsigned short a_Port){
		return new krryn::system_imp::basic_onetworkbuf<E, T>(a_Ip, a_Port);
	}
}
}
